import React, { Component } from 'react'
import Erzi from "./erzi"
 class Ba extends Component {
     state = {
         name:""
     }
    checkVal = (data)=>{
        console.log(data,55555)
        this.setState({
            name:data
        })
    }
    render() {
        return (
            <div>
                <Erzi send={this.checkVal}></Erzi>
                name:{this.state.name}
            </div>
        )
    }
}

export default Ba
